package com.bbznb.service;

import com.bbznb.entity.Movie;
import com.bbznb.entity.MyOrder;
import com.bbznb.util.OrderQueryDTO;
import com.bbznb.util.PageData;

import java.util.List;

public interface UserService {
    PageData getTickets(Integer page, Integer size);

     List<Movie> getRanking();

    void buyTickets(Integer id);
    void BuyTickets(String username);
      List<MyOrder> getOrders(OrderQueryDTO orderQueryDTO);
}
